import React from "react";

import LoginPage from "./pages/login/LoginPage";
import {Page404, Page500} from "./Pages";
// import Header from "./pages/index/components/Header";
import IndexPage from "./pages/index/IndexPage";
import OnlFormHeadPage from "./pages/onlformhead/OnlFormHeadPage";
// import IndexPage from "./redare_components/webplatform_workbench/pages/index/common/IndexPage";

export const routes = [
    {
        path: '/login',
        exact: true,
        component: LoginPage
    },
    // {
    //     path: '/',
    //     component: () => {
    //         return (
    //             <IndexPage
    //                 headerComponent={<Header/>}
    //                 siderWidth={245}
    //             />
    //         )
    //     }
    // },
    {
        path: '/_generator',
        component: IndexPage
        // routes:[
        //     {
        //         path: "/_generator/form",
        //         exact:true,
        //         component: OnlFormHeadPage
        //     }
        // ]
    }
    // ,
    // {
    //     path: '/_generator/500',
    //     exact: true,
    //     component: Page500
    // },
    // {
    //     component: Page404
    // }
];